package io.renren.modules.shop.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import io.renren.modules.shop.entity.UserAndCoupon;
import io.renren.modules.shop.mapper.UserAndCouponMapper;
import io.renren.modules.shop.service.UserAndCouponService;

@Service
public class UserAndCouponServiceImpl extends ServiceImpl<UserAndCouponMapper, UserAndCoupon> implements UserAndCouponService {

    @Override
    public int updateBatch(List<UserAndCoupon> list) {
        return baseMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<UserAndCoupon> list) {
        return baseMapper.batchInsert(list);
    }

    @Override
    public int updateBatchSelective(List<UserAndCoupon> list) {
        return baseMapper.updateBatchSelective(list);
    }
}


